package com.lxf.cloudproduct;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.lxf.cloudproduct","com.lxf.clouduser"})
@EnableFeignClients(basePackages = "com.lxf.cloudfeign.client") //需要扫描到fegin-api的路径
public class CloudProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudProductApplication.class, args);
    }

}
